import actionTypes from '../actions/actionTypes'
// 给状态设置默认值
const data = {
    id: '1',
    name: 'zhangshan',
    sex: 'nan',
    age: 12
}
const initState = {
    ...data,
    isLoading: false
}

export default (state = initState, action) => {
    console.log(1)
    console.log(state)
    console.log(action)
    console.log(2)
    return state;
}